﻿using System;
using System.Collections.Generic;
using FizzBuzz.OutputProviders;

namespace FizzBuzz
{
    internal class Program
    {
        private static void Main()
        {
            //            var fizzBuzz = new FizzBuzzLogic(new FileProvider(@"C:\TomLaZelleTest","output.txt"));
            var fizzBuzz = new FizzBuzzLogic(new ConsoleProvider());

            var lowNumber = 0;
            var highNumber = 15;
            var result = fizzBuzz.CalculateValues(
                lowNumber,
                highNumber,
                new List<Divisor>
                    {
                        new Divisor {Value = 3, Text = "Fizz"},
                        new Divisor {Value = 5, Text = "Buzz"}
                    });

            Console.WriteLine("Result: " + result);
            Console.Read();
        }
    }
}